<?php use PHPCI\Helper\Lang; ?>
<?php if (empty($error)): ?>

        <div class="box-header">
            <?php Lang::out('reset_enter_password'); ?>
        </div>

        <div class="box-body">
            <form class="form" action="<?php print PHPCI_URL; ?>session/reset-password/<?php print $id; ?>/<?php print $key; ?>" method="POST">
                <div class="form-group">
                    <label for="password"><?php Lang::out('reset_new_password'); ?></label>
                    <input type="password" id="password" name="password" class="form-control" required>
                </div>

                <div class="form-group">
                    <input class="btn btn-success" type="submit" value="<?php Lang::out('reset_change_password'); ?>">
                </div>
            </form>
        </div>
    <?php else: ?>
    <div class="alert alert-danger" style="margin-bottom: 0">
            <?php print $error; ?>
    </div>
    <?php endif; ?>


